package com.designpatterns.templatemethod.hook;

import com.designpatterns.templatemethod.hook.Coffee1;
import com.designpatterns.templatemethod.hook.Tea1;

/**
 * @author Brook
 */
public class Test {
    public static void main(String[] args) {
        Tea1 tea1 = new Tea1();
        tea1.prepareRecipe();

        System.out.println("--------------------------------------------");

        Coffee1 coffee1 = new Coffee1();
        coffee1.prepareRecipe();

    }
}
